package com.geektime.hello.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

/**
 * @Author: DRevelation
 * @Date: 2021/1/4 9:55
 */
@Data
@Builder
@TableName("student")
public class Student {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(condition = SqlCondition.EQUAL)
    private Integer deptId;

    private String name;

    @TableField(condition = SqlCondition.LIKE)
    private String remark;

}
